home *** CD-ROM | disk | FTP | other *** search
- Path: news.NetVision.net.il!news
- From: Eitan Horwitz <tnt@netvision.net.il>
- Newsgroups: comp.lang.c++
- Subject: Help: DLL functions that create class objects
- Date: 21 Mar 1996 11:15:39 GMT
- Organization: NetVision LTD.
- Message-ID: <4irdor$fot@news.NetVision.net.il>
- NNTP-Posting-Host: ts000p5.pop2a.netvision.net.il
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1PE (Windows; I; 16bit)
-
- I wrote a DLL that has an exported function which calls two functions,
- each of which creates a new object and returns the pointer to the object.
- The first function returns the pointer with no problem, the second bombs
- with a fallout message of GPF 0000000D.
-
- I used MS Codeview to trace thru the execution of the second "new"
- statement. It blows up in the _searchseg routine of "new". The tracing
- was probably overkill, since that GPF is for "out bounds" access, if I'm
- not mistaken.
-
- I assume it has something to do with the process of initializing the
- object. Anybody have any ideas what the problem is?
-
- Thanks,
- Eitan
-
- -------------------------------------------------
- Eitan (Tony) Horwitz
- Desert Sun Operations
- Hashminit 14, Maale Adumim
- Israel 98340
- Tel: (wk)972.2.590-0033
- Fax: (wk)972.2.590-0066
- Net: tnt@netvision.net.il
- -------------------------------------------------
-
-
-
-